package P5720;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int num = sc.nextInt();
        int temp = 1,i;
        for (i=0;temp<=num;++i){
            temp <<= 1;
        }
        System.out.println(i);

    }
}
